//
//  UserDetailAPI.m
//  StarOrangeStaff
//
//  Created by lshenrong on 2020/7/7.
//  Copyright © 2020 lshenrong. All rights reserved.
//

#import "UserDetailAPI.h"

@interface UserDetailAPI()

@property (nonatomic,copy) NSString *userId;

@end

@implementation UserDetailAPI

- (instancetype)initWithUserId:(NSString *)userId {
    if (self = [super init]) {
        self.userId = userId;
        [self testDataAPI];
       
    }
    return self;
}

- (void)testDataAPI {
    self.userId = @"123";
}

- (NSString *)requestUrl {
    return @"message/user/queryUserInfo";
}



- (id)requestAppendArgument{
    AvoidNullString(self.userId);
    
    return @{
                @"userId":self.userId,
            };
}

@end
